#ifndef _DIRECTX_H
#define _DIRECTX_H

#include <D3DX9math.h>

//-----------------------------------------------------------------------------
// Global variables
//-----------------------------------------------------------------------------
extern LPDIRECT3D9 g_pD3D;						// Used to create the D3DDevice
extern LPDIRECT3DDEVICE9 g_pd3dDevice;			// Our rendering device
extern LPD3DXEFFECT g_CubeShader;				//=== OUR SHADER EFFECT:
extern D3DXMATRIX g_WorldViewProj; //Global Matrix
extern LPD3DXFONT g_font;						// Stores the font (duh)

HRESULT InitD3D( HWND hWnd );
void SetUpMatracies();
void Render();
void DrawText();


#endif